﻿using AutoMapper;
using Logistics.bear;
using Logistics.Model;
using Logistics.Contract;
using Logistics.SignIn;
using Logistics.Car;
using Logistics.PersonnelMatters;
using Logistics.Setup;
using Logistics.Storage;
using Logistics.Recipients;
using Logistics.Job;
using Logistics.Operators;
using Logistics.Track;
using Logistics.Tyres;
using Logistics.Accidents;
using Logistics.Materials;
using Logistics.Repair;
using Logistics.Violations;
using Logistics.examination;
using System.Collections.Generic;
using Logistics.Remit;
using Logistics.Apply;
using Logistics.Statist;
using Logistics.And;

namespace Logistics
{
    public class LogisticsApplicationAutoMapperProfile : Profile
    {
        public LogisticsApplicationAutoMapperProfile()
        {
            /* You can configure your AutoMapper mapping configuration here.
             * Alternatively, you can split your mapping configurations
             * into multiple profile classes for a better organization. */
            CreateMap<Procurement, ProcurementDto>();
            CreateMap<ProcurementDto, Procurement>();
            CreateMap<Material, GetMaterialTypeDto>();
            CreateMap<GetMaterialTypeDto, Material >();
            CreateMap<Field, FieIdDto>();
            CreateMap<Operator, SignIn.OperatorDto>();
            CreateMap<Carry,CarryDto>(); 
            CreateMap<Cargoowner, CargoownerDto>();
            CreateMap<Currency, CurrencyDto>();
            CreateMap<Vehicle, VehicleDto>();
            CreateMap<PowerManager, PowerManagerDto>();
            CreateMap<MaterialType, GetMaterialTypeDto>();
            CreateMap<Owner, OwnerDto>();
            CreateMap<BasicDto, Basic>();
            CreateMap<Line, LineDto>();
            CreateMap<Deptinfo, DepartmentDto>();
            CreateMap<RoleManage, RoleDto>();
            CreateMap<Contracttracking, CargoownerTrackDto>();
            CreateMap<Warehousing, WarehousingDto>();
            CreateMap<Claim, ClaimDto>();
            CreateMap<Cost, CostDto>();
            CreateMap<PositionInfo, JobDto>();
            CreateMap<JobDto, PositionInfo>();
            CreateMap<Basic, YuanGong>();
            CreateMap<Accident, AccidentDto>();
            CreateMap<Maintain, MaintainsDto>();
            CreateMap<Fix, RepairDto>();
            CreateMap<Violation, ViolationDto>();
            CreateMap<Model.Tyre, TyreDto>();
            CreateMap<ApprovalActivity, ApprovalActivityDto>();
            CreateMap<Payment, PaymentDto>();
            CreateMap<invoice, InvoiceDto>();
            CreateMap<Statistics, StatistDto>();
            CreateMap<Accident, AccidentDto>();
            CreateMap<PowerManager, JurisdictionDto>();
            CreateMap<OperatorLinkRole, OperatorLinkRoleDto>();
            CreateMap<RoleLinkPower, RoleLinkPowerDto>();
            CreateMap<ReceiptsAndPayments, GatheringDto>();
            CreateMap<Longitudeandlatitude, LongitudeandlatitudeDto>();
        }
    }
}
